package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 用户访问IP记录
 */
@Getter
@Setter
@Document(collection = "user_visitor_ip_record")
public class UserVisitorIpRecord extends EntityBase {
    @Indexed
    private String ip;
    @Indexed
    private String userId;
    private String platform;
    private String appId;
}
